package com.enbatis.mybatisplugs.service;

import com.enbatis.mybatisplugs.base.Account;
import com.enbatis.mybatisplugs.base.IBaseService;
import com.enbatis.mybatisplugs.commons.utils.ResultReturn;
import com.enbatis.mybatisplugs.entity.LeaveApply;


public interface LeaveService extends IBaseService<LeaveApply> {


    ResultReturn addDraft(LeaveApply leave, Account account);


    ResultReturn addSubmit(LeaveApply leave, Account account);

    ResultReturn submitProcess(Long[] ids, Account account);

    ResultReturn pass(String taskId,Long businessId,String opinion, Account account);

    ResultReturn back(String taskId,Long businessId,String opinion, Account account);
}
